<template>
    <a-spin :spinning="loading">
      <a-card>
        <a-tabs @change="getChangeTab" style="background: #fff; padding: 0px 16px 8px 16px;" :animated="false"
        v-model="tabs">

        <a-tab-pane key="select1" tab="banner位置">
        </a-tab-pane>
        <a-tab-pane key="select2" tab="banner管理"> </a-tab-pane>
       

      </a-tabs>
     
      <!-- <a-divider  /> -->
    </a-card>
    <bannerManage v-if="tabs=='select2'" ref="bannerManage"></bannerManage>
    <bannerPosition v-if="tabs=='select1'" ref="bannerPosition"></bannerPosition>
  </a-spin>
</template>
<script>
import bannerManage from './bannerManage'
import bannerPosition from './bannerPosition'
export default {
  components: {
    bannerPosition,bannerManage
  },
  data() {
    return {
      loading: false,
      tabs:'select1',
    }
  },
  computed: {

  },
  watch: {

  },
  async created() {

  },
  mounted() {
  
  },
  methods: {
    getChangeTab(e){
    
    },
  
  }
}
</script>
<style lang="less" scoped>
.ant-col {
  margin-bottom: 20px;
  display: flex;
  align-items: center;

  .label {
    flex-shrink: 0;
    width: 86px;
    text-align: right;
    font-size: 14px;
    color: #595959;
  }

  .w-full {
    flex: 1;
  }
}
</style>
  